88a3e9cc07c9ca1011c608f885be3f68cb6bfe6c,tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/OSGiBlueprintHelloWorldTest.java,OSGiBlueprintHelloWorldTest,configure,#,77
Before Change
@Configuration
public static Option[] configure() throws Exception {
Option[] options = combine(
// Default karaf environment
Helper.getDefaultOptions(
// this is how you set the default log level when using pax logging (logProfile)
Helper.setLogLevel("WARN")),
bundle(newBundle()
.add("OSGI-INF/blueprint/test.xml", OSGiBlueprintTestSupport.class.getResource("blueprint-13.xml"))
.set(Constants.BUNDLE_SYMBOLICNAME, OSGiBlueprintHelloWorldTest.class.getName())
.build()).noStart(),
// install the http features first
scanFeatures(getKarafFeatureUrl(), "jetty"),
// using the features to install the camel components
scanFeatures(getCamelKarafFeatureUrl(),
"camel-core", "camel-blueprint", "camel-test"),
workingDirectory("target/paxrunner/"),
felix(), equinox());
return options;
}
After Change
@Configuration
public static Option[] configure() throws Exception {
Option[] options = combine(
getDefaultCamelKarafOptions(),
bundle(newBundle()
.add("OSGI-INF/blueprint/test.xml", OSGiBlueprintTestSupport.class.getResource("blueprint-13.xml"))
.set(Constants.BUNDLE_SYMBOLICNAME, OSGiBlueprintHelloWorldTest.class.getName())
.build()).noStart(),
// using the features to install the camel components
scanFeatures(getCamelKarafFeatureUrl(),
"camel-blueprint"));
return options;
}